﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;

namespace Wicresoft.Logger.Entity
{
    class Log
    {
        [Key]
        public int LogId { get; set; }

        [Required]
        public DateTime CreatedTime { get; set; }

        [Required]
        [StringLength(10)]
        public string Verb { get; set; }

        [Required]
        [StringLength(50)]
        public string TaskName { get; set; }

        [Required]
        public string Message { get; set; }

        public string Exception { get; set; }
    }
}
